import request from '@/utils/request'

// 查询聚水潭店铺信息列表
export function getShoplist(query) {
  return request({
    url: '/product/jushuitang/getShoplist',
    method: 'get',
    params: query
  })
}
// 查询聚水潭店铺信息列表
export function listJstShopInfo(query) {
  return request({
    url: '/conf/JstShopInfo/list',
    method: 'get',
    params: query
  })
}
// 查询聚水潭店铺信息详细
export function getJstShopInfo(id) {
  return request({
    url: '/conf/JstShopInfo/' + id,
    method: 'get'
  })
}

// 新增聚水潭店铺信息
export function addJstShopInfo(data) {
  return request({
    url: '/conf/JstShopInfo',
    method: 'post',
    data: data
  })
}

// 修改聚水潭店铺信息
export function updateJstShopInfo(data) {
  return request({
    url: '/conf/JstShopInfo',
    method: 'put',
    data: data
  })
}

// 删除聚水潭店铺信息
export function delJstShopInfo(id) {
  return request({
    url: '/conf/JstShopInfo/' + id,
    method: 'delete'
  })
}
